net/http.http2dataBuffer.chunks (field)
17 uses
net/http (current package)
h2_bundle.go#L1094: chunks [][]byte
h2_bundle.go#L1118: if b.r == len(b.chunks[0]) {
h2_bundle.go#L1119: http2putDataBufferChunk(b.chunks[0])
h2_bundle.go#L1120: end := len(b.chunks) - 1
h2_bundle.go#L1121: copy(b.chunks[:end], b.chunks[1:])
h2_bundle.go#L1122: b.chunks[end] = nil
h2_bundle.go#L1123: b.chunks = b.chunks[:end]
h2_bundle.go#L1131: if len(b.chunks) == 1 {
h2_bundle.go#L1132: return b.chunks[0][b.r:b.w]
h2_bundle.go#L1134: return b.chunks[0][b.r:]
h2_bundle.go#L1164: if len(b.chunks) != 0 {
h2_bundle.go#L1165: last := b.chunks[len(b.chunks)-1]
h2_bundle.go#L1171: b.chunks = append(b.chunks, chunk)
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |